//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.purvar.boot.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.purvar.boot.api.entity.SysAutocodeMain;
import com.purvar.boot.api.pojo.SysAutoCodeMainAndDetails;
import com.purvar.boot.api.pojo.SysAutocodeMainEditVo;
import com.purvar.boot.api.pojo.SysAutocodeMainNewVo;
import com.purvar.boot.api.pojo.SysAutocodeMainQueryVo;
import com.purvar.boot.comm.api.vo.Result;

import javax.servlet.http.HttpServletRequest;

public interface ISysAutocodeMainService extends IService<SysAutocodeMain> {
    void addSysAutocodeMain(SysAutocodeMainNewVo sysAutocodeMainNewDto);

    void updateSysAutocodeMain(String id, SysAutocodeMainEditVo sysAutocodeMainEditDto);

    Result<IPage<SysAutocodeMain>> listPage(SysAutocodeMainQueryVo sysAutocodeMainQueryVo, Integer pageNo, Integer pageSize, HttpServletRequest req);

    SysAutoCodeMainAndDetails getSysAutoCodeMainAndDetailsBytableName(String tableName);

    SysAutoCodeMainAndDetails getEditSysAutoCodeMainAndDetailsBytableName(String tableName);

    void addSysAutoCodeMainAndDetails(SysAutoCodeMainAndDetails entity);

    byte[] autocodeMain(String id);
}
